package com.itheima.entity.vo;

import com.itheima.entity.StatusType;
import com.itheima.entity.VendingMachine;
import com.itheima.entity.VmType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * 机器输出类
 *
 * @Name VmVo
 * @Author 81475
 * @Date 2022-08-15 21:29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class VmVo extends VendingMachine {
    private VmType type;
    private NodeVo node;
    private RegionVo region;
    /**
     * 是否故障，是：true，否：false
     */
    private Boolean fault;
    /**
     * 10001 设备离线
     * 10002 货道故障
     * 10003 转动轴故障
     */
    private Map<String, Boolean> status;

}
